package ncme.auto.framework.test.permission.controller;

import ncme.auto.framework.core.annotation.aspect.AutoMapperProcess;
import ncme.auto.framework.core.annotation.handler.AutoRequestBody;
import ncme.auto.framework.test.permission.entity.RolepermissionMapper;
import org.springframework.web.bind.annotation.CrossOrigin;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.Map;

@RestController
@RequestMapping("permission")
@CrossOrigin
public class RolepermissionMapperController {

    @RequestMapping("/rolepermissionMapper")
    @AutoMapperProcess(MAPPER_ENTITY = RolepermissionMapper.class, LOG_MSG = "rolepermissionMapper", REQUEST_TYPE_CODE = "5234")
    public Object rolepermissionMapperAuto(@AutoRequestBody Map<String, Object> param) {
        return null;
    }
}
